<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<c:if test="${adherent==null}">
    <div class="error message">
        <h3>Message</h3>
        <p>Adh&eacute;rent inexistant</p>
    </div>


</c:if>



<fieldset class="form-container" >
    <legend  class="form-title"><h2>Aper&ccedil;u adh&eacute;rent : ${adherent.nomPrenom} </h2></legend>

    <div class="datagrid" style="width : 50% !important;margin-left: 25%">
    <table >
        <tbody>
            <tr><td style="width : 30%">Nom Pr&eacute;nom :</td><td>${adherent.nomPrenom}</td></tr>

            <tr class="alt"><td>Adresse :</td><td>${adherent.adresse}<br/>
                    ${adherent.complementAdresse}<br/>
                    ${adherent.codePostal}- ${adherent.ville}</td></tr>
            <tr class="alt"><td>T&eacute;l&eacute;phone :</td>
                <td>${adherent.telephone}</td></tr>
            <tr><td>Mobile :</td>
                <td>${adherent.mobile}</td></tr>

            <tr  class="alt"><td>Num&eacute;ro Urssaf :</td><td>${adherent.numUrssaf}</td></tr>
            <tr ><td>Num&eacutero Siret : :</td><td>${adherent.numSiret}</td></tr>
        </tbody>
    </table>
    </div>
    <div class="submit-container">
        <a href="/adherent/update.do?id=${adherent.id}" class="submit-button">Modifier</a>
        <a href="/adherent/index.do" class="submit-button">Annuler</a>
    </div>
</fieldset>
